Updated retrieve api and readme