update api retreival angular vars