updated towards policy gradient