simple api: put object