Builds a changeset based on the struct and params
struct
params
Builds a changeset based on the struct and params.