Fixed As Built status when putting to database from block