trying to update database - doesnt work