added sync feature, other ui fix