added sync to detail fragment