add auto update feature and fix the version