updated while adding text