create/update dataspace and resource
default visibility for new package is set to private
packageId added to Resource and DataspaceResource