Update If statement