Fixed permissions on update file