Fix syntax error in update command