SQL Transaction is added for 2 commands used for moving the row.