fix broken update