fix update issues