update

fixed some bugs