solved issue(not updating db) with edit user