wrap in jquery plugin, update example