updating for 2nd panel