updated update_rivs stored proc and fixed max lengths in RIV form
added delete functionality to update_rivs stored proc
updated select_rivs stored proc and changed mainform to allow searching with wildcards