update ena/office logic