popover update to work better with backbone