fix put api

upgrade to the latest api, support x:field_name