update funtion getSharingAmount of ckass sharing