upgrades jquery version, fixes index bugs, adds update value