Update user session variable after edit