Updated share functionality