change multiple api object instances to single static api object