update site name logic