Change repository constants. As a first step towards supporting sesame
Adjusted PUT code to adapt to sesame