minor modifications to status change functionality