fixed another bug
fixed update bug