Made overwrite and before_update clean

I cannot make it cleaner
Merge pull request #627 from sagikazarmark/1.8/develop

Added docs for slug overwrite