fix update problem