changes for one to many