understanding array_chunk
understanding crud
implementing edit