-- fixed bug that sends the wrong update if you revert all your changes