updates schema for models