edit getMessages from date