changes for put contents in post