updates user and event schemas to match json format