update views for swig templating