changes for doctrine orm so updates work