Fixed PUT functionality to account for a Key already existing