Update 'if' statement syntax