added diff data and fixed bug in short_id_generation