updated config for hibernate