update model - Hiberbate