update impression and code format