Added update department functionality and put validations.