Updated update_paragraphs.js to not use query_sync() (which no longer exists).