finish create & update  method of Space