update the delete user function