Force json format in file upload
Refresh posts automatically