Change site_id = 1 to current site id so will work with wpms