progress on revert system , using div attr instead of model to save.