update json data attachment size