add problem and update problem