update fabric js and fixed bugs