Update share button variable