update to insert values in database