updating share code