update portrait bug