automatic updating of repository via update script