Session_cookie's _update_db not guaranteed to update fix