Mysql: update attribute if and only if other attribute was changed
===

On UPDATE query I would like to change need_parse attribute if url attribute was changed.
need_parse depends on url value.

How can I achieve this on MySQL & Python?