complete add new shareResource function; 
modify cvTable and srTable update type;
fix some bugs;