updating the PathElements will now update the navbar in realtime :)