Updated put_event. Added put_user.