Agitating update, code not working