making updates to the evaluation function