update canvas paths