now everything is working with id again instead of the user_name. the edit/update is now fixed and everything is working fine