Delete of measurement and database changes

Delete of measurement and database changes