Add and update solutions