update to store md5
detecting duplication for commands