su postgres psql \c scm select * from hosts update hosts set name='hostName' where host_id='xxxxxxx';