need to fix update