update canvas file