add offline run to db