bugfix: sharedata can be update more than once