Java Template. Update to placeholders