MySQL model updated