@classmethod<EOL><INDENT>def make_update(cls, table, set_query, where=None):<DEDENT>
validate_table_name(table)<EOL>if typepy.is_null_string(set_query):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>query_list = ["<STR_LIT>".format(Table(table)), "<STR_LIT>".format(set_query)]<EOL>if where and isinstance(where, (six.text_type, Where, And, Or)):<EOL><INDENT>query_list.append("<STR_LIT>".format(where))<EOL><DEDENT>return "<STR_LIT:U+0020>".join(query_list)<EOL>
Make UPDATE query.

:param str table: Table name of executing the query.
:param str set_query: SET part of the UPDATE query.
:param str where:
    Add a WHERE clause to execute query,
    if the value is not |None|.
:return: Query of SQLite.
:rtype: str
:raises ValueError: If ``set_query`` is empty string.
:raises simplesqlite.NameValidationError:
    |raises_validate_table_name|