Add exception for creating records