update format of space