add update and delete for the problems