Removed write to db command