added fields to database