update rails, remove database + unneeded railsties and middleware + cache page