Updating endpoints config