edit message and set config height width