added update
add stats