edit code resa