change hibernate locking
update readme