update libs & add a enclosing text to loop shortcode