custom statement update