update pathing for values and keys