Added changeId method
Prepared for memory store