removed unused code
update