changed update function colors