Add reloading function for the schema