Updated image code.