adds functionality to database to update with multi-column keys