added update statement