Would you mind pulling the ternary updateBy into a separate line?