Changed the query statement in edit_user