change replace color logic
ommit every sync function for performance.
clean up codes
set initalize procedure
fixed add,delete bug
fixed initalize problem