added index to book properties when pushing new data to bookArray obj