changed scope for creating and updating status