added edit for demands
added edit for demands