update on sale functionality added