update path redirection on sessions