update device source for triangle