fixing typo of mask of update + formating