Fixing issue with session_store cookie update