Insert and delete mysql automatic

I'm trying, automatically after updating a table, pass a row from table X to table Y and delete that row, but for triggers I can not delete.

How can I do this?

thank you!