Update Id for hibernate