updating statement