Fix candidate update.
Remove necessary functions.