revise update online status and model roomschema