Writing a UMAT for hysteretic materials in ABAQUS

Hi,

Can someone please tell the procedure to write UMAT/VUMAT for hysteretic materials. I am searching the web, but I get at best for a hyper-elastic material in monotonic loading. When the loading is cyclic, how to code the history variables - strains. Does someone has a good reference for that ? 

Thank you