updating period selections