two-way data binding for wms