updated id in view