added the update to display x to y of z