update from connection cookbook