def set_sp_template_updated(self, vlan_id, sp_template, device_id):
entry = self.get_sp_template_vlan_entry(vlan_id,<EOL>sp_template,<EOL>device_id)<EOL>if entry:<EOL><INDENT>entry.updated_on_ucs = True<EOL>self.session.merge(entry)<EOL>return entry<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT>
Sets update_on_ucs flag to True.