get request changed to use data in new version
put requests returns status 201 if key does not exist