update mapimageview and commands