port SaveHandler to GAE