updated code for release