updated json link for flask