update documents via PUT