update layout for imageview