update sae interface to use kvdb store photos