auto save every 2 sec