Add online update function && add .keys() in all dict.