Fix logic of 'update' attribute