added subscribe api docs