fixed update errors