Updated urls to match old api and relaive function in annotation.py, updated tests and url in ajax requests to old url API