add console log upon save