Handle changes and branch