update test and edit mapping error