Extension is logging out a complete record. Need to get writing to database/updating old records