add entity repositories change controller