Refresh generated code