put and patch public