removes swp, updates views for branches