updated to new version of raphael