update style of drag content