adding script for time update