working on updatetonewformat