updating blank elements for empty values