changes in moments API,show and index