Added necessary methods to update branch master in the same time as branch photoView