Update API prototype