Basic publish function in datashare done