update if exists and expire