Updated notes on constrained systems