add chat_db wrapper for put and all requests