During the pendency of any action for divorce or separation the court may make such orders concerning the care, custody, education, and maintenance of the minor children of the parties to the action as law and justice may require and may enforce the orders by summary process. The court may revise and amend the orders from time to time.