updated autoupdate functionality
removed commeneted code
Merge pull request #55 from anirudh-eka/autoupdate-1

updated autoupdate functionality