For AEM 6.3 and above, please follow the below method for adding filters as the curl to http://localhost:4502/crx/packmgr/update.jsp is giving 404.
https://gist.github.com/nateyolles/dd4ebe0a6b83c369029b?permalink_comment_id=2329947#gistcomment-2329947