Fixed bug in function updateSliceStatusInDB
Renamed fcuntion updateSliceStatusInDB to updateSliceStatus