Update placeholder attribute functionality