Function is working and call is being made properly. Now working on getting the page to reload with the new data.