update context hibernate