Update class RaphaelObject