update code: add user, delete user