fix update errors