not saving when assigning attribute on the inverse