changed callback from before_save to after_save