changed writings update action to redirect to notebook url if saved