added offline task for json index