Updated current page state on nav and slug url for works