updates schemas for user and event