change presave user hook to cas presave