Changes to the updateManaged.

Added implementation for generate and update to ApiImpl.