update navigate-previous/next callback