Teach UpdateTarget() to append to the reflog