update syntax class nad methods