title: CQ5.5 Updating an existing package through CURL
body: <p>I am using a series of CURL request to create my package.</p>
  
  <p><strong>What I am doing currently</strong>: I created a new package, added filters to it and then built the package.</p>
  
  <p><strong>Create package:</strong> </p>
  
  <p><code>curl -f -N -u ${USER}:${PASS} -d "packageName=${PACKAGE}&amp;groupName=${GROUP}" "${CMS_HOST}/crx/packmgr/service/exec.json?cmd=create"</code></p>
  
  <p><strong>Apply Filters:</strong> </p>
  
  <p><code>curl -f -N -u ${USER}:${PASS} -F "path=/etc/packages/${GROUP}/${PACKAGE}.zip" -F "packageName=${PACKAGE}" -F "groupName=${GROUP}" -F "version=" -F "description=" -F "thumbnail=" -F "filter=${FILTER}" -F "_charset_=UTF-8" "${CMS_HOST}/crx/packmgr/update.jsp"</code></p>
  
  <p><strong>Build Package:</strong></p>
  
  <p><code>curl -f -N -u ${USER}:${PASS} -d "cmd=build" "${CMS_HOST}/crx/packmgr/service/script.html/etc/packages/${GROUP}/$PACKAGE.zip"</code></p>
  
  <p><strong>What I want to do</strong>: <em>Add more filters</em> <strong>to this package</strong> and build it again.</p>
  
  <p>I am wondering if there is a way to update an existing package. I have been searching around to see how we can do this but have failed. Can someone please help me?</p>
  
  <p>Thanks.</p>
  
  <p>Update: Added the CURL commands I am using.</p>