adding function to update daily agenda