Improvements in form and database updates