register view changed