update contoller