updated data format for database