Updata on specific events
Change current branch when update branches