updating format and colors