made the api edit link smarter