Fix for adding status in db