Update the hibernate file for encoding when deploying