Add version check and update capability
Fix permission on VERSION