edit assignment works