update to p3 js