Better handling of create and update based on id
Fixed missing body class declaration
Year should be an integer value