before_change and after_change hook
added upload function hooks