update answer and solution controller