add custom messages for branch switch