implemented delete and center elements button functionality/updated JSON