add format of records in db