working "edit" staff plan, needs some fixes