persist proxy to db