update info and fix json errors