add the missing fields to database