Before Creating Command to update the model