update for all pojo class with hibernate