changing assignment-page relationship to one-to-many