Update Deposit Module, add constraints