update on arduino code