update y to bracket notation