update hibernate relations