Updated ajax end point