Update the endopoint