api for updating custom controls added