fix docs and invert resource and targetId for objectCreation event