Update belongs to and has many