Added editing product functionlaity and tests