changes session key generator