update conditionals to brackets