fix refresh logic
json output
products index page