move script to update and notify