Yes, both are important but
I think mother is more important than wife coz mother was there with us since the time of our birth , she knows everything about us ,our likes, dislikes and takes care of it.I don't say that wife is not important but you should give more importance to your mother than to your wife.