add fields to database