Added missing parenthesis in update()