observe changes on the server side