updated schema inversed relationships