Update generate for phalcon