update message cell's layout