got update modal working and json data exported