Rename and update api.