updating moment file