Updated image code