share functionality changed