When I add an array its being added to the database but the page doesn't read the new list of arrays unless I refresh the page.