fixed small issue in system update script