Updating SQL for users.