adding put and post capabilities