update database with column