added a method for shape add to whiteboard