added some update/notification fun and modified sharesetting structure