updated code and candidates updated