updated STM bound
Updated `array` dependency for compatibility with GHC 7.8