mutate function

Mutate an ir object by adding new or replacing existing columns