setting up POST on new documnet creation