Fix stupid bugs in update methods