update hashids path and generate content id methods