added parameters for editing to list controller