update user profile & fix links in error_404