update to embedded layer