updating config and zoom level