A contract may be revised and specifically enforced in one proceeding or in separate proceedings.
SDCL 21-11-4