changed five_actions opt to update self.nactions