Chief Justice urges lawyers to adapt to change