Added ability to update the assignment status and added sorting support ...

...for asignment