submit a resource