new resource added in the db