Updating user events ajax