change name of second parameter in webservice SetRelation to reflect plurality: update php and js libraries