before update of navigation and restfull