update for deply using local image first