im not a hundred percent sure, but i think ur not supposed to quote the column names, that may be ure problem, and also password( 'test456' ) is a variable, should have $ sign in front.
eg, right code:
UPDATE tbl_dealers SET passwd = $password( 'test456' ) WHERE username = 'testuser'
dunno if this works, cant try it on my server, different MySQL version.