Initial inclusion of upsert_request method