Removed update via go routine as it was terminating the program execution before finishing the update