update api of newSharing