~photo db updates