added prepared statement update