added update script
changed permissions for update script