added entry model and auto time updating