Fix instance resource bug and update site definition