Add status transition hook to change labels