An improved model to describe the repeated loading-unloading in compression of cellular materials