watch data changing, and auto save them if any changs happens.