redraws with json values