added option to update user