added response for bad requests and first succesful put attempt