Changes to queries made for .up and .down; testing has yet to be done