code: def set_sp_template_updated(self, vlan_id, sp_template, device_id):
          
          entry = self.get_sp_template_vlan_entry(vlan_id,
                                                  sp_template,
                                                  device_id)
          if entry:
              entry.updated_on_ucs = True
              self.session.merge(entry)
              return entry
          else:
              return False
docs: Sets update_on_ucs flag to True.