update the schema and profile