Instead of submitting a style_id to create, I'd suggest using the auto increment ability and get the style_id generated and return it from this function, then remove it by that id later