add offline event