edit attributes upon creation