Updated resource creation