update working on social sharing function