change hibernate to update. Final settings for hibernate