add moment end date to moment API