Update axis titles to be dynamic