def update(self, table_name, set_query, where=None):
self.validate_access_permission(["<STR_LIT:w>", "<STR_LIT:a>"])<EOL>self.verify_table_existence(table_name)<EOL>query = SqlQuery.make_update(table_name, set_query, where)<EOL>return self.execute_query(query, logging.getLogger().findCaller())<EOL>
Execute an UPDATE query.

        Args:
            table_name (|str|):
                Table name of executing the query.
            set_query (|str|):
                ``SET`` clause for the update query.
            where (|arg_where_type| , optional):
                ``WHERE`` clause for the update query.
                Defaults to |None|.

        Raises:
            IOError:
                |raises_write_permission|
            simplesqlite.NullDatabaseConnectionError:
                |raises_check_connection|
            simplesqlite.TableNotFoundError:
                |raises_verify_table_existence|
            simplesqlite.OperationalError:
                |raises_operational_error|