add update and some fixes