api update date wasn't zero padded which was causing problems