Worksheet update

refactoring the worksheet module
Same here.