updated hibernate mapping