added check to status opdate