change photodb