Update left and right buttons type